set Stroke Cap
Deprecated
Use setStrokeStartCap and setStrokeEndCap to set each end independently.
Replace with
setStrokeStartCap(block, cap)Content copied to clipboard
Set the stroke cap of the given design block. Writes both the start and end caps to the same value. Required scope: "stroke/change"
Parameters
block
the block whose stroke cap should be set.
cap
the stroke cap to be set.